package cn.zhentao.charge.mapper;

import java.util.List;
import cn.zhentao.charge.domain.ChargePayOrder;

/**
 * 支付单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public interface ChargePayOrderMapper 
{
    /**
     * 查询支付单
     * 
     * @param id 支付单主键
     * @return 支付单
     */
    public ChargePayOrder selectChargePayOrderById(Long id);

    /**
     * 查询支付单列表
     * 
     * @param chargePayOrder 支付单
     * @return 支付单集合
     */
    public List<ChargePayOrder> selectChargePayOrderList(ChargePayOrder chargePayOrder);

    /**
     * 新增支付单
     * 
     * @param chargePayOrder 支付单
     * @return 结果
     */
    public int insertChargePayOrder(ChargePayOrder chargePayOrder);

    /**
     * 修改支付单
     * 
     * @param chargePayOrder 支付单
     * @return 结果
     */
    public int updateChargePayOrder(ChargePayOrder chargePayOrder);

    /**
     * 删除支付单
     * 
     * @param id 支付单主键
     * @return 结果
     */
    public int deleteChargePayOrderById(Long id);

    /**
     * 批量删除支付单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteChargePayOrderByIds(Long[] ids);
}
